package com.atguigu.modules.gulimall.ware;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/*
1 导入mp 依赖
2 配置
    1配置数据源
        1导入数据库驱动
        2在application 中配置数据源相关信息
    2配置mybatisplus相关信息
        1使用mapperscan
        2告诉mp 映射文件在哪
 */
@MapperScan("com.atguigu.modules.gulimall.ware.dao")
@SpringBootApplication
@EnableDiscoveryClient
public class GulimallWareApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallWareApplication.class, args);
    }

}
